package io.arukas.repository;

import io.arukas.domain.SysUser;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

/**
 * Created by IntelliJ IDEA. <br/>
 * Author: YuXian Niu <br/>
 * Email: niuyuxian@163.com <br/>
 * Create: 2021-08-15 22:22 <br/>
 */
public interface SysUserRepository extends JpaRepository<SysUser, String> {

    Optional<SysUser> findByUsername(String username);

}